<include file="__THEME__/header" />
<include file="__THEME__/page_top" />
<div class="w_970 ov">
	<div class="fl w_720">
    	<h2 class="t_26 c_333 p_t25 bold_n"><a href="#" class="c_009">帐户</a>/认证</h2>
        <include file="_tabs" />
        <div class="login_dl m_b20">
        	<php>if(!empty($verifyInfo)){</php>
		    	<dl>
		        	<dt>真实姓名：</dt>
		            <dd><div class="p_t8 t_14 c_666">{$verifyInfo.realname}</div></dd>
		        </dl>
		        <dl>
		        	<dt>认证说明：</dt>
		            <dd><div class="p_t8 t_14 c_666">{$verifyInfo.info}</div></dd>
		        </dl>
		        <dl>
		        	<dt>认证说明：</dt>
		        	<form id="ajax_user_form" name="ajax_user_form" action="{:U('public/Account/doAuthenticate')}" method="post">
		            <dd><textarea id='info' name="info" cols="" rows="" class="bor b_e6e6e6"></textarea>
		            <div class="bc c_999">30天内且只能修改一次，请谨慎操！</div>
		            
		            </dd>
		            </form>
		        </dl>
		        <dl>
		        	<dt></dt>
		            <dd><a class="tc butas bor di b_fff w_255 c_f06 fl m_r_20" 
		            	href="javascript:;" onclick="$('#ajax_user_form').submit();">提交修改</a>
		            	<!-- <a href="#" class="c_999 fl p_t10">取消</a> --></dd>
		        </dl>
		         <dl class="clear">
		        	<dt></dt>
		            <dd class="c_999">如果你想取消认证，<a class="c_009" href="#">点击可申请&gt;&gt;</a></dd>
		        </dl>
	        <php>}else{</php>
	        	<div class="b_e6e6e6 w_305 p_q20 ov tc" style="margin: 0px auto;">
		        	<h2 class="t_45 bold_n c_f06 p_b10">VP</h2>
		            <p class="c_999 m_b3">VP=Valuable Person</p>
		        	<i class="di icon_rts"></i>
		        	<p class="w_200 c_999 l_24 p_b10" style="margin:0 auto">我想成为索乐最有价值的会员。展示和分享关于我工作的一切，并可以发布工作及合作信息！</p>
		            <a class="tc butas bor di b_fff w_255 c_f06" href="{:U('public/register/regular',array('professional'=>'1'))}">申请认证&gt;</a>
		        </div>
	        <php>}</php>
		</div>
    </div>
    <div class="w_220 fr p_t25">
		<div class="opt m_b15 t_14" style="padding-top:69px">邀请好友</div>
        <div>
        	<p class="b_e6e6e6 l_35 tc c_666">http://happysolo.com/i/17123432</p>
            <a href="#" class="cf06 l_24">复制邀请站外好友</a>
        </div>
    </div>
</div>
<script>
$(document).ready(function() { 
    $('#ajax_user_form').submit(function(){
        $(this).ajaxSubmit({
            beforeSubmit:  function(){
            },
            success: function(json){
            	if( json.status == 1 ){
            		ui.success(json.info);
            	}else if(json.status == 2){
            		
            	}else{
            		ui.error(json.info);
            	}
            },
            dataType: 'json'
        }); 
        return false; 
    });
})
</script>
<include file="__THEME__/footer" />
</body>
</html>